package com.migo.mongo.service;

import com.migo.dao.MongoBaseDao;
import com.migo.entity.ShOrderInfoEntity;
import com.migo.mongo.entity.AfterSaleMongo;

import java.util.List;

/**
 * Created by Wes on 2018/11/14.
 */
public interface AfterSaleMongoService extends MongoBaseDao<AfterSaleMongo> {


    /**
     * 存储售后日志
     * @param orderInfo
     */
    void saveAfterLog(ShOrderInfoEntity orderInfo, String desc);

    /**
     *  查询售后日志
     * @param orderId
     * @return
     */
    List<AfterSaleMongo> queryList(String orderId);




}
